package com.codechuan.demo.ui.notifications;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.ViewModelProvider;

import com.codechuan.demo.common.Constant;
import com.codechuan.demo.databinding.FragmentNotificationsBinding;
import com.codechuan.demo.ui.myOrder.MyOrder;
import com.codechuan.demo.ui.mySchedule.MySchedule;

/**
 * @Deprecated 行程列表视图
 */
public class NotificationsFragment extends Fragment {
    private FragmentNotificationsBinding binding;

    public View onCreateView(@NonNull LayoutInflater inflater,
                             ViewGroup container, Bundle savedInstanceState) {

        Intent intent = new Intent();
        intent.setClass(Constant.context , MySchedule.class);
        startActivity(intent);

        binding = FragmentNotificationsBinding.inflate(inflater, container, false);
        return binding.getRoot();
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        binding = null;
    }
}